home *** CD-ROM | disk | FTP | other *** search
Unknown | 1994-09-22 | 2.7 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| Jesper Olsen Module (music/jesperOlsen)
| magic
| Supported |
1%
| dexvert
| TTComp Archive (archive/ttcomp)
| fallback
| Supported |
100%
| file
| TTComp archive data, binary, 2K dictionary
| default (weak)
| |
99%
| file
| data
| default
| |
66%
| TrID
| TTComp archive compressed (bin-2K)
| default (weak)
| |
33%
| TrID
| Adobe PhotoShop Brush
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 22 00 00 00 00 00 00 | 00 22 61 31 37 41 00 00 |."......|."a17A..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 08 43 54 45 50 72 | 69 6e 74 00 00 06 00 00 |...CTEPr|int.....|
|00000060| 00 00 00 94 00 00 00 00 | 00 00 00 94 00 00 00 14 |........|........|
|00000070| 03 c1 00 28 05 7e 00 ff | 00 00 00 00 00 00 0f a8 |...(.~..|........|
|00000080| 00 00 00 00 4e 1c 00 00 | 00 09 00 00 00 04 00 04 |....N...|........|
|00000090| ff fc ff fa 00 04 00 04 | ff fc ff fc 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 83 00 0b 40 | 10 6b 53 63 72 65 65 6e |.......@|.kScreen|
|000000b0| 41 50 49 2f 31 39 39 39 | 36 00 06 47 65 6e 65 76 |API/1999|6..Genev|
|000000c0| 61 00 00 3a 4f 53 45 72 | 72 20 43 54 45 50 72 69 |a..:OSEr|r CTEPri|
|000000d0| 6e 74 28 54 45 48 61 6e | 64 6c 65 20 74 65 48 6e |nt(TEHan|dle teHn|
|000000e0| 64 6c 2c 20 73 68 6f 72 | 74 20 2a 6f 66 66 73 65 |dl, shor|t *offse|
|000000f0| 74 2c 20 52 65 63 74 20 | 2a 72 63 74 29 3b 00 00 |t, Rect |*rct);..|
|00000100| 00 06 00 00 00 00 00 90 | 00 00 00 00 00 00 00 90 |........|........|
|00000110| 00 00 00 00 03 c1 00 14 | 05 7e 00 ff 00 00 00 00 |........|.~......|
|00000120| 00 00 0f a8 00 00 00 00 | 4e 1d 00 00 00 09 00 00 |........|N.......|
|00000130| 00 04 00 04 ff fc ff fa | 00 04 00 04 ff fc ff fc |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 83 00 0b 40 14 6b 53 63 |........|...@.kSc|
|00000150| 72 65 65 6e 4f 6e 65 4c | 69 6e 65 2f 31 39 39 39 |reenOneL|ine/1999|
|00000160| 37 00 06 47 65 6e 65 76 | 61 00 00 32 47 65 74 20 |7..Genev|a..2Get |
|00000170| 63 6f 72 72 65 63 74 20 | 6e 75 6d 62 65 72 20 6f |correct |number o|
|00000180| 66 20 6c 69 6e 65 20 69 | 6e 20 74 68 65 20 54 65 |f line i|n the Te|
|00000190| 78 74 45 64 69 74 20 68 | 61 6e 64 6c 65 2e 00 00 |xtEdit h|andle...|
|000001a0| 00 06 00 00 00 00 00 44 | 00 00 00 00 00 00 00 44 |.......D|.......D|
|000001b0| 00 00 00 00 02 6b 04 40 | 02 6c 01 00 00 00 00 00 |.....k.@|.l......|
|000001c0| 00 01 0f f1 00 00 00 00 | 00 00 00 00 00 0c 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 06 00 00 | 00 00 00 6b 00 00 00 00 |........|...k....|
|00000200| 00 00 00 6b 00 00 00 00 | 02 6b 02 28 03 c1 00 ff |...k....|.k.(....|
|00000210| 00 00 00 00 00 00 0f a8 | 00 00 00 00 4e 16 00 00 |........|....N...|
|00000220| 00 09 00 00 00 04 00 04 | ff fc ff fa 00 04 00 04 |........|........|
|00000230| ff fc ff fc 00 00 00 00 | 00 00 00 00 83 00 0b 40 |........|.......@|
|00000240| 0b 6c 69 6e 6b 73 2f 31 | 39 39 39 30 00 06 4d 6f |.links/1|9990..Mo|
|00000250| 6e 61 63 6f 00 00 00 00 | 16 00 01 00 00 00 00 00 |naco....|........|
|00000260| 10 00 0c 00 01 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 06 00 00 00 00 08 26 00 | 00 00 00 00 00 08 26 00 |......&.|......&.|
|00000280| 00 00 00 00 00 75 30 02 | 6b 01 ff 00 00 00 00 00 |.....u0.|k.......|
|00000290| 00 0f a8 00 00 00 00 4e | 1f 00 00 00 09 00 00 00 |.......N|........|
|000002a0| 04 00 04 ff fc ff fa 00 | 04 00 04 ff fc ff fc 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 83 | 00 0b 40 0a 62 6f 64 79 |........|..@.body|
|000002c0| 2f 31 39 39 39 39 00 06 | 4d 6f 6e 61 63 6f 00 07 |/19999..|Monaco..|
|000002d0| bc 4f 53 45 72 72 20 43 | 54 45 50 72 69 6e 74 28 |.OSErr C|TEPrint(|
|000002e0| 54 45 48 61 6e 64 6c 65 | 20 74 65 48 6e 64 6c 2c |TEHandle| teHndl,|
|000002f0| 20 73 68 6f 72 74 20 2a | 6f 66 66 73 65 74 2c 20 | short *|offset, |
|00000300| 52 65 63 74 20 2a 72 63 | 74 29 3b 0d 0d 20 20 20 |Rect *rc|t);.. |
|00000310| 20 46 69 6c 65 3a 20 54 | 65 78 74 45 64 69 74 43 | File: T|extEditC|
|00000320| 6f 6e 74 72 6f 6c 2e 68 | 0d 0d 49 4e 50 55 54 3a |ontrol.h|..INPUT:|
|00000330| 20 20 74 65 48 6e 64 6c | 20 20 20 20 20 20 54 65 | teHndl| Te|
|00000340| 78 74 45 64 69 74 20 68 | 61 6e 64 6c 65 20 74 6f |xtEdit h|andle to|
|00000350| 20 70 72 69 6e 74 2e 0d | 49 4e 2f 4f 55 54 20 20 | print..|IN/OUT |
|00000360| 6f 66 66 73 65 74 20 20 | 20 20 20 20 50 6f 69 6e |offset | Poin|
|00000370| 74 65 72 20 74 6f 20 73 | 68 6f 72 74 20 68 6f 6c |ter to s|hort hol|
|00000380| 64 69 6e 67 20 6f 66 66 | 73 65 74 20 74 6f 20 63 |ding off|set to c|
|00000390| 6f 6e 74 69 6e 75 65 20 | 70 72 69 6e 74 69 6e 67 |ontinue |printing|
|000003a0| 20 66 72 6f 6d 2e 0d 20 | 20 20 20 20 20 20 20 52 | from.. | R|
|000003b0| 65 63 74 20 20 20 20 20 | 20 20 20 50 6f 69 6e 74 |ect | Point|
|000003c0| 65 72 20 74 6f 20 72 65 | 63 74 20 74 68 61 74 20 |er to re|ct that |
|000003d0| 74 65 78 74 20 69 73 20 | 77 72 61 70 70 65 64 20 |text is |wrapped |
|000003e0| 69 6e 2c 20 61 6e 64 20 | 77 72 61 70 70 65 64 20 |in, and |wrapped |
|000003f0| 74 65 78 74 0d 20 20 20 | 20 20 20 20 20 20 20 20 |text. | |
|00000400| 20 20 20 20 20 20 20 20 | 20 62 6f 75 6e 64 61 72 | | boundar|
|00000410| 79 20 69 73 20 72 65 74 | 75 72 6e 65 64 20 69 6e |y is ret|urned in|
|00000420| 2e 0d 52 45 54 55 52 4e | 3a 20 4f 53 45 72 72 20 |..RETURN|: OSErr |
|00000430| 20 20 20 20 20 20 53 6f | 6d 65 20 6b 69 6e 64 20 | So|me kind |
|00000440| 6f 66 20 65 72 72 6f 72 | 20 70 72 65 76 65 6e 74 |of error| prevent|
|00000450| 65 64 20 63 6f 6d 70 6c | 65 74 69 6f 6e 20 28 6c |ed compl|etion (l|
|00000460| 69 6b 65 6c 79 20 6d 65 | 6d 46 75 6c 6c 45 72 72 |ikely me|mFullErr|
|00000470| 29 2e 0d 0d 55 73 65 20 | 74 68 69 73 20 66 75 6e |)...Use |this fun|
|00000480| 63 74 69 6f 6e 20 74 6f | 20 70 72 69 6e 74 20 74 |ction to| print t|
|00000490| 68 65 20 63 6f 6e 74 65 | 6e 74 73 20 6f 66 20 61 |he conte|nts of a|
|000004a0| 20 54 65 78 74 45 64 69 | 74 20 72 65 63 6f 72 64 | TextEdi|t record|
|000004b0| 2e 20 20 50 61 73 73 20 | 69 74 20 61 0d 54 65 78 |. Pass |it a.Tex|
|000004c0| 74 45 64 69 74 20 68 61 | 6e 64 6c 65 2c 20 61 20 |tEdit ha|ndle, a |
|000004d0| 70 6f 69 6e 74 65 72 20 | 74 6f 20 61 20 74 65 78 |pointer |to a tex|
|000004e0| 74 20 6f 66 66 73 65 74 | 2c 20 61 6e 64 20 61 20 |t offset|, and a |
|000004f0| 70 6f 69 6e 74 65 72 20 | 74 6f 20 61 20 72 65 63 |pointer |to a rec|
|00000500| 74 20 74 6f 0d 70 72 69 | 6e 74 20 74 68 65 20 74 |t to.pri|nt the t|
|00000510| 65 78 74 20 69 6e 2e 20 | 20 54 68 65 20 6f 66 66 |ext in. | The off|
|00000520| 73 65 74 20 73 68 6f 75 | 6c 64 20 62 65 20 69 6e |set shou|ld be in|
|00000530| 69 74 69 61 6c 69 7a 65 | 64 20 74 6f 20 77 68 61 |itialize|d to wha|
|00000540| 74 20 63 68 61 72 61 63 | 74 65 72 0d 69 6e 20 74 |t charac|ter.in t|
|00000550| 68 65 20 54 65 78 74 45 | 64 69 74 20 72 65 63 6f |he TextE|dit reco|
|00000560| 72 64 20 79 6f 75 20 77 | 69 73 68 20 74 6f 20 73 |rd you w|ish to s|
|00000570| 74 61 72 74 20 70 72 69 | 6e 74 69 6e 67 20 61 74 |tart pri|nting at|
|00000580| 20 28 6d 6f 73 74 20 6c | 69 6b 65 6c 79 20 30 29 | (most l|ikely 0)|
|00000590| 2e 0d 54 68 65 20 70 72 | 69 6e 74 20 66 75 6e 63 |..The pr|int func|
|000005a0| 74 69 6f 6e 20 70 72 69 | 6e 74 73 20 61 73 20 6d |tion pri|nts as m|
|000005b0| 75 63 68 20 74 65 78 74 | 20 61 73 20 77 69 6c 6c |uch text| as will|
|000005c0| 20 66 69 74 20 69 6e 20 | 74 68 65 20 72 65 63 74 | fit in |the rect|
|000005d0| 2c 20 61 6e 64 0d 74 68 | 65 6e 20 75 70 64 61 74 |, and.th|en updat|
|000005e0| 65 73 20 74 68 65 20 6f | 66 66 73 65 74 20 74 6f |es the o|ffset to|
|000005f0| 20 74 65 6c 6c 20 79 6f | 75 20 77 68 61 74 20 69 | tell yo|u what i|
|00000600| 73 20 74 68 65 20 66 69 | 72 73 74 20 63 68 61 72 |s the fi|rst char|
|00000610| 61 63 74 65 72 20 74 68 | 61 74 20 64 69 64 6e d5 |acter th|at didn.|
|00000620| 74 0d 70 72 69 6e 74 2e | 20 20 59 6f 75 20 63 61 |t.print.| You ca|
|00000630| 6e 20 74 68 65 6e 20 63 | 61 6c 6c 20 74 68 65 20 |n then c|all the |
|00000640| 70 72 69 6e 74 20 66 75 | 6e 63 74 69 6f 6e 20 61 |print fu|nction a|
|00000650| 67 61 69 6e 20 77 69 74 | 68 20 61 6e 6f 74 68 65 |gain wit|h anothe|
|00000660| 72 20 72 65 63 74 20 77 | 69 74 68 0d 74 68 69 73 |r rect w|ith.this|
|00000670| 20 6e 65 77 20 6f 66 66 | 73 65 74 2c 20 61 6e 64 | new off|set, and|
|00000680| 20 69 74 20 77 69 6c 6c | 20 70 72 69 6e 74 20 74 | it will| print t|
|00000690| 68 65 20 74 65 78 74 20 | 73 74 61 72 74 69 6e 67 |he text |starting|
|000006a0| 20 61 74 20 74 68 65 20 | 6e 65 77 20 6f 66 66 73 | at the |new offs|
|000006b0| 65 74 2e 0d 54 68 69 73 | 20 6d 65 74 68 6f 64 20 |et..This| method |
|000006c0| 69 73 20 76 65 72 79 20 | 75 73 65 66 75 6c 20 77 |is very |useful w|
|000006d0| 68 65 6e 20 61 20 73 69 | 6e 67 6c 65 20 54 65 78 |hen a si|ngle Tex|
|000006e0| 74 45 64 69 74 20 72 65 | 63 6f 72 64 20 69 73 20 |tEdit re|cord is |
|000006f0| 6c 6f 6e 67 65 72 20 74 | 68 61 6e 20 61 0d 73 69 |longer t|han a.si|
|00000700| 6e 67 6c 65 20 70 61 67 | 65 2c 20 61 6e 64 20 79 |ngle pag|e, and y|
|00000710| 6f 75 20 77 69 73 68 20 | 74 68 65 20 74 65 78 74 |ou wish |the text|
|00000720| 20 74 6f 20 62 72 65 61 | 6b 20 61 74 20 74 68 65 | to brea|k at the|
|00000730| 20 65 6e 64 20 6f 66 20 | 74 68 65 20 70 61 67 65 | end of |the page|
|00000740| 2e 0d 54 68 65 20 62 6f | 74 74 6f 6d 20 6f 66 20 |..The bo|ttom of |
|00000750| 72 65 63 74 20 69 73 20 | 61 6c 73 6f 20 75 70 64 |rect is |also upd|
|00000760| 61 74 65 64 2c 20 61 6c | 6f 6e 67 20 77 69 74 68 |ated, al|ong with|
|00000770| 20 74 68 65 20 6f 66 66 | 73 65 74 2e 20 20 54 68 | the off|set. Th|
|00000780| 65 20 62 6f 74 74 6f 6d | 20 65 64 67 65 0d 6f 66 |e bottom| edge.of|
|00000790| 20 74 68 65 20 72 65 63 | 74 20 69 73 20 63 68 61 | the rec|t is cha|
|000007a0| 6e 67 65 64 20 74 6f 20 | 72 65 66 6c 65 63 74 20 |nged to |reflect |
|000007b0| 74 68 65 20 61 63 74 75 | 61 6c 20 62 6f 74 74 6f |the actu|al botto|
|000007c0| 6d 20 6f 66 20 74 68 65 | 20 74 65 78 74 20 70 72 |m of the| text pr|
|000007d0| 69 6e 74 65 64 2e 0d 54 | 68 69 73 20 69 73 20 75 |inted..T|his is u|
|000007e0| 73 65 66 75 6c 20 62 65 | 63 61 75 73 65 20 74 68 |seful be|cause th|
|000007f0| 65 20 72 65 63 74 20 70 | 61 73 73 65 64 20 69 6e |e rect p|assed in|
|00000800| 20 64 69 64 6e d5 74 20 | 6e 65 63 65 73 73 61 72 | didn.t |necessar|
|00000810| 69 6c 79 20 68 6f 6c 64 | 20 61 6e 0d 69 6e 74 65 |ily hold| an.inte|
|00000820| 67 65 72 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |ger numb|er of li|
|00000830| 6e 65 73 20 6f 66 20 74 | 65 78 74 2e 20 20 54 68 |nes of t|ext. Th|
|00000840| 65 20 62 6f 74 74 6f 6d | 20 6f 66 20 74 68 65 20 |e bottom| of the |
|00000850| 72 65 63 74 20 69 73 20 | 61 64 6a 75 73 74 65 64 |rect is |adjusted|
|00000860| 20 73 6f 0d 69 74 20 65 | 78 61 63 74 6c 79 20 68 | so.it e|xactly h|
|00000870| 6f 6c 64 73 20 63 6f 6d | 70 6c 65 74 65 20 6c 69 |olds com|plete li|
|00000880| 6e 65 73 20 6f 66 20 74 | 65 78 74 2e 0d 49 74 20 |nes of t|ext..It |
|00000890| 69 73 20 61 6c 73 6f 20 | 70 6f 73 73 69 62 6c 65 |is also |possible|
|000008a0| 20 74 68 61 74 20 74 68 | 65 20 72 65 63 74 20 63 | that th|e rect c|
|000008b0| 6f 75 6c 64 20 68 6f 6c | 64 20 73 75 62 73 74 61 |ould hol|d substa|
|000008c0| 6e 74 69 61 6c 6c 79 20 | 6d 6f 72 65 20 6c 69 6e |ntially |more lin|
|000008d0| 65 73 20 6f 66 0d 74 65 | 78 74 20 74 68 61 6e 20 |es of.te|xt than |
|000008e0| 74 68 65 72 65 20 61 72 | 65 20 72 65 6d 61 69 6e |there ar|e remain|
|000008f0| 69 6e 67 2e 20 20 41 67 | 61 69 6e 2c 20 69 6e 20 |ing. Ag|ain, in |
|00000900| 74 68 69 73 20 73 69 74 | 75 61 74 69 6f 6e 2c 20 |this sit|uation, |
|00000910| 74 68 65 20 62 6f 74 74 | 6f 6d 20 6f 66 0d 72 65 |the bott|om of.re|
|00000920| 63 74 20 69 73 20 61 64 | 6a 75 73 74 65 64 20 73 |ct is ad|justed s|
|00000930| 6f 20 74 68 61 74 20 74 | 68 65 20 72 65 63 74 20 |o that t|he rect |
|00000940| 74 69 67 68 74 6c 79 20 | 62 6f 75 6e 64 73 20 74 |tightly |bounds t|
|00000950| 68 65 20 74 65 78 74 20 | 70 72 69 6e 74 65 64 2e |he text |printed.|
|00000960| 0d 54 68 65 20 72 65 6d | 61 69 6e 69 6e 67 20 70 |.The rem|aining p|
|00000970| 69 65 63 65 20 6f 66 20 | 69 6e 66 6f 72 6d 61 74 |iece of |informat|
|00000980| 69 6f 6e 20 70 61 73 73 | 65 64 20 62 61 63 6b 20 |ion pass|ed back |
|00000990| 69 73 20 61 6e 20 69 6e | 64 69 63 61 74 6f 72 20 |is an in|dicator |
|000009a0| 74 68 61 74 20 74 68 65 | 0d 74 65 78 74 20 74 68 |that the|.text th|
|000009b0| 72 6f 75 67 68 20 74 68 | 65 20 65 6e 64 20 6f 66 |rough th|e end of|
|000009c0| 20 74 68 65 20 54 65 78 | 74 45 64 69 74 20 72 65 | the Tex|tEdit re|
|000009d0| 63 6f 72 64 20 77 61 73 | 20 70 72 69 6e 74 65 64 |cord was| printed|
|000009e0| 2e 20 20 57 68 65 6e 20 | 74 68 65 20 65 6e 64 0d |. When |the end.|
|000009f0| 6f 66 20 74 68 65 20 74 | 65 78 74 20 69 73 20 72 |of the t|ext is r|
|00000a00| 65 61 63 68 65 64 2c 20 | 74 68 65 20 6f 66 66 73 |eached, |the offs|
|00000a10| 65 74 20 66 6f 72 20 74 | 68 65 20 6e 65 78 74 20 |et for t|he next |
|00000a20| 74 65 78 74 20 74 6f 20 | 62 65 20 70 72 69 6e 74 |text to |be print|
|00000a30| 65 64 20 69 73 0d 72 65 | 74 75 72 6e 65 64 20 61 |ed is.re|turned a|
|00000a40| 73 20 2d 31 2e 20 20 54 | 68 69 73 20 69 6e 64 69 |s -1. T|his indi|
|00000a50| 63 61 74 65 73 20 74 68 | 61 74 20 70 72 6f 63 65 |cates th|at proce|
|00000a60| 73 73 69 6e 67 20 6f 66 | 20 74 68 65 20 54 65 78 |ssing of| the Tex|
|00000a70| 74 45 64 69 74 20 72 65 | 63 6f 72 64 0d 69 73 20 |tEdit re|cord.is |
|00000a80| 63 6f 6d 70 6c 65 74 65 | 2e 20 0d 0d 0d 00 16 00 |complete|. ......|
|00000a90| 01 00 00 00 00 00 0b 00 | 09 00 04 00 00 00 09 00 |........|........|
|00000aa0| 00 00 00 00 00 | |..... | |
+--------+-------------------------+-------------------------+--------+--------+